import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/components/Login'
import RegisterUser from '@/components/RegisterUser'
import RegisterEnterprise from '@/components/RegisterEnterprise'
import AuditAll from '@/components/AuditAll'
import AuditSingleUser from '@/components/AuditSingleUser'
import LoginBMS from '@/components/LoginBMS'
import index from '@/components/Index'
import InfoModify from '@/components/InfoModify'
import Message from '@/components/Message'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/registerUser',
      name: 'RegisterUser',
      component: RegisterUser
    },
    {
      path: '/registerEnterprise',
      name: 'RegisterEnterprise',
      component: RegisterEnterprise
    },
    {
      path: '/AuditAll',
      name: 'AuditAll',
      component: AuditAll
    },
    {
      path: '/AuditSingleUser',
      name: 'AuditSingleUser',
      component: AuditSingleUser
    },
    {
      path: '/LoginBMS',
      name: 'LoginBMS',
      component: LoginBMS
    },
    {
      path: '/index',
      name: 'index',
      component: index
    },
    {
      path: '/InfoModify',
      name: 'InfoModify',
      component: InfoModify
    },
    {
      path: '/message',
      name: 'Message',
      component: Message
    }
  ]
})
